package com.lezhi.socialgram.model.moments;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lezhi.socialgram.annotation.Table;

import java.util.Date;

/**
 * Created by daizhen on 2017/4/25.
 */
@Table(prefix = "t_comment_")
public class Comment {
    private String table;
    private Integer operation;
    private Long commentId;
    private Long momentUserId;
    private String content;
    private Long destCommentId;
    private Long destUserId;
    private Long userId;
    private String imageUrl;
    private String nickname;
    private String momentId;
    private Date createTime;

    public Comment() {
    }

    @JsonIgnore
    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    @JsonIgnore
    public Integer getOperation() {
        return operation;
    }

    public void setOperation(Integer operation) {
        this.operation = operation;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public Long getMomentUserId() {
        return momentUserId;
    }

    public void setMomentUserId(Long momentUserId) {
        this.momentUserId = momentUserId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getDestUserId() {
        return destUserId;
    }

    public void setDestUserId(Long destUserId) {
        this.destUserId = destUserId;
    }

    public Long getDestCommentId() {
        return destCommentId;
    }

    public void setDestCommentId(Long destCommentId) {
        this.destCommentId = destCommentId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getMomentId() {
        return momentId;
    }

    public void setMomentId(String momentId) {
        this.momentId = momentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
